/* 
  处理nuxt中的css样式
*/
#__nuxt,
#__layout {
    width: 100%;
    height: 100%;
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
  width: 4px;
  /*height: 4px;*/
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px #cdcdfc;
  box-shadow: inset 0 0 5px #cdcdfc;
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

/* 引入外部字体 */
@font-face{
  font-family: 'opo'; 
  src: url('../Font-OPPOSans/OPPOSans-L.ttf');
}

/* 
  设置所有页面的公共样式
*/
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  color: #737088;
  /* background-color: #e6e5e7; */
  background-color: #f9faf9;
}

img {
  height: auto;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover,
.load:hover,
.message-txt .message-btn:hover,
.message-reply button:hover {
  cursor: pointer;
}

div {
  display: block;
}

input,
button,
textarea {
  outline: none;
}

.t-menu li a {
  color: #737088;
}

.t-menu li .router-link-active {
  color: #000;
}

.content-top{
  margin-top: 50px;
}

/* 内容居中 */
.t-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  max-width: 1200px;
}

.t-container::after {
  content: "";
  display: table;
  clear: both
}

/* 文章列表 */
.article-ul {
  width: 100%;
  height: auto;
}

.article-li {
  width: 100%;
  height: 340px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.article-li:last-child {
  border-bottom: none;
}

.article-li:hover {
  background: #f3f5f6;
  transition: 2s;
}

.article-con {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-con:hover {
  opacity: 0.6;
  transition: opacity 2s;
}

.article-con:hover .article>.article-title {
  color: #00e875;
  transition: color 2s;
}

.article {
  z-index: 1;
  position: absolute;
  padding: 30px;
}

.article-cc {
  background-color: rgba(0, 0, 0, 0.4);
  position: initial;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.article-title {
  padding: 6px 36px;
}

.article-title,
.article-txt,
.article-qt {
  color: #fff;
  padding: 6px 0;
  text-shadow: 1px 10px 10px #000;
}

.article-title {
  font-size: 26px;
}

.article-txt,
.article-qt {
  font-size: 14px;
}

.article-qt .iconfont {
  margin: 0px 0px 0px 10px;
}

.article-title:hover{
  cursor: pointer;
}

/*  */
.iconfont {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}


/* 资源分享 */
.gallery {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
}
.image {
  flex: 25%;
  overflow: hidden;
  cursor: pointer;
}
.image img {
  width: 100%;
  height: 100%;
  transition: 0.4s;
}
.image:hover img {
  transform: scale(1.4) rotate(15deg);
}

/*  */
.index-title {
  padding-top: 100px;
}

.index-title,.resources-title {
  text-align: center;
}

.index-title span,.resources-title span {
  font-size: 24px;
  padding: 10px;
  border-bottom: 4px solid #33cb98;
}

/* 友人帐 */
.link {
  padding-top: 60px;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.container .card {
  width: 23.333333333333%;
  position: relative;
  margin: 0 6px;
}
.container .card .face {
  width: 100%;
  height: 200px;
  transition: 0.5s;
}
.container .card .face.face1 {
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}
.container .card:hover .face.face1 {
  background: #33cb98;
  transform: translateY(0);
}
.container .card .face.face1 .content {
  opacity: 0.8;
  transition: 0.5s;
}
.container .card:hover .face.face1 .content {
  opacity: 1;
}
.container .card .face.face1 .content img {
  max-width: 100px;
}
.container .card .face.face1 .content h3 {
  margin: 10px 0 0;
  padding: 0;
  color: #000;
  text-align: center;
  font-size: 1.5em;
}
.container .card .face.face2 {
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0px 1px 10px rgba(189, 197, 209, 0.4);
  transform: translateY(-100px);
}
.container .card:hover .face.face2 {
  transform: translateY(0);
}
.container .card .face.face2 .content p {
  margin: 0;
  padding: 0;
}
.container .card .face.face2 .content a {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
}
.container .card .face.face2 .content a:hover {
  background: #333;
  color: #fff;
}